<template>
	<view>
		<view class="smart-panel-head">
			<view class="smart-panel-head-title">navigator</view>
		</view>
		<view class="smart-padding-wrap">
			<navigator url="/pages/demos/newpage/newpage" hover-class="navigator-hover">
				<button type="default">跳转到新页面</button>
			</navigator>
			<navigator url="/pages/demos/newpage/newpage?title=redirect" open-type="redirect" hover-class="other-navigator-hover">
				<button type=" default">在当前页打开</button>
			</navigator>
			<navigator url="/pages/tabBar/api/api" open-type="switchTab" hover-class="other-navigator-hover">
				<button type=" default">跳转tab页面</button>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'navigator'
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>